package modelo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@NamedQueries( { @NamedQuery(name = "Sha1.findAll", query = "select o from Sha1 o") })
@Table(name = "\"sha1\"")
public class Sha1 implements Serializable {
    @Column(name = "sha1")
    private String sha1;
    @Id
    @Column(name = "uuid", nullable = false)
    private String uuid;

    public Sha1() {
    }

    public Sha1(String sha1, String uuid) {
        this.sha1 = sha1;
        this.uuid = uuid;
    }

    public String getSha1() {
        return sha1;
    }

    public void setSha1(String sha1) {
        this.sha1 = sha1;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
